package com.onesports.intelligent.k12.polarlight.domain.entity.wx;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import com.onesports.intelligent.k12.polarlight.config.ArrayTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;
import java.time.Instant;

/**
 * ${comments}
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("coach_apply")
public class CoachApply extends BaseEntity implements Serializable {

    /**
     * 微信userId
     */
    private String wxUserId;
    /**
     * 申请者姓名
     */
	private String applyName;
    /**
     * 申请校区id
     */
    @TableField(value = "campus_id",typeHandler = ArrayTypeHandler.class,jdbcType = JdbcType.ARRAY)
    private String[] campusId;
    /**
     * 身份证号
     */
	private String idCard;
    /**
     * 申请者手机号
     */
	private String applyPhone;
    /**
     * 申请时间
     */
    private Instant applyTime;



}
